const Layout = () => import('@/layout/index.vue')

export default {
  path: '/business',
  component: Layout,
  name: 'business',
  meta: {
    title: '业务管理',
    icon: 'icon-yewuguanli',
    auth: 'business_management'
  },
  children: [
    {
      path: 'businessRule',
      name: 'businessRule',
      component: () => import('@/views/business/businessRule/index.vue'),
      meta: {
        title: '业务规则管理',
        tabGroup: '/business/businessRule'
      },
      children: [
        {
          path: 'addBusiness',
          name: 'addBusiness',
          component: () => import('@/views/business/businessRule/addBusiness/index.vue'),
          meta: {
            title: '添加业务',
            sidebar: false,
            tabGroup: '/business/businessRule'
          }
        }
      ]
    }
  ]
}
